import { post } from '../http'

// 详情
export const ruleDetail = (data) =>
  post({ url: '/enterpriseWarnConfig/detail', headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' }, data })

// 编辑
export const modifyRule = (data) => post({ url: '/enterpriseWarnConfig/modify', data })

// 押金规则-编辑
export const depositModifyRule = (data) => post({ url: '/depositConfig/modify', data })

// 押金规则-详情
export const depositRuleDetail = (data) => post({ url: '/depositConfig/detail', data })
